package com.dzwww.recommend.rule.common.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dzwww.recommend.rule.common.po.base.BaseLogicDeleteEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Auto
 * @since 2019-07-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dzwww__rule_config")
public class RuleConfig extends BaseLogicDeleteEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 推荐规则id，关联推荐规则表id
     */
    @TableField("ruleId")
    private Long ruleId;

    /**
     * 名称
     */
    private String name;

    /**
     * 筛选词，例如：稿件来源、稿件分类
     */
    private String filterword;

    /**
     * 筛选值，例如：体育、稿件id的集合 
     */
    private String filtertext;

    /**
     * 是否精确匹配，1：是 0：否
     */
    private Integer exactmatch;

    /**
     * 是否模糊匹配，1：是 0：否
     */
    private Integer fuzzymatch;

    /**
     * 备注
     */
    private String remark;


}
